import VueRouter from 'vue-router'
import routes from './routes'
let base = '/portal-one'

const router = new VueRouter({
    mode: 'history',
    //base: base,
    routes: routes
})
// 路由守卫
router.beforeEach((to, from, next) => {
    next()
})
export default router